<html>
<head xmlns:th="http://www.thymeleaf.org" lang="en">
    <meta charset="UTF-8">
    <title>Insert title here</title>
    <link rel="stylesheet" href="/system/layui/css/layui.css">
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>用户信息</title>
        <link rel="stylesheet" href="/system/layui/css/layui.css" media="all">
    </head>
<body>
<blockquote class="layui-elem-quote quoteBox">
    <div class="layui-inline" style="width: 200px;">
        <br>
        <input type="text" class="layui-input name" name="id" id="demoReload" autocomplete="off" placeholder="请输入登录名" style="width:200px;">
        <button class="layui-btn layui-btn-layui-btn-normal" data-type="reload" id="searchTransport" style="position: absolute;left: 210px;top:25px;">搜索</button>
        <a class="layui-btn layui-btn-normal" onclick="insert()" style="position: absolute;left: 270px;top:25px;" th:if="${post!=null||num!=0||add!=null}" th:text="添加用户"></a>
        <a class="layui-btn layui-btn-danger layui-btn-normal" style="position: absolute;left: 370px;top:25px;" onclick="delAll()" th:if="${num!=0||delete!=null}" th:text="批量删除"></a>
    </div>
</blockquote>
<table id="linkList" lay-filter="demo"></table>
</body>
<script type="text/javascript" src="/system/layui/layui.js"></script>
<script type="text/javascript" src="/system/js/jquery-3.3.1.js"></script>
<script type="text/javascript" src="/user/user.js"></script>
<script type="text/html" id="userList">
    <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="grant" th:if="${post!=null||num!=0||grant!=null}" th:text="分配角色"></a>
    <a class="layui-btn layui-btn-xs" lay-event="tableUpdate" th:if="${num!=0||update!=null}" th:text="编辑"></a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="tableDelete" th:if="${num!=0||delete!=null}" th:text="删除"></a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="tableRest" th:text="重置密码"></a>
</script>
</html>
